<template>
  <div>
      <h1>教师信息</h1>
      <p>id: {{ id }}</p>
      <p>name: {{ name }}</p>
  </div>
</template>

<script>
export default {
    name: 'Teacher',
    props: [ 'id' , 'name' ]
}
</script>

<style>

</style>